import type {RNPackageContext, RNPackage} from '@rnoh/react-native-openharmony/ts';
import {RNBuglyPackage} from '@react-native-oh-tpl/rn-bugly/ts';
import {ZipArchivePackage} from '@react-native-oh-tpl/react-native-zip-archive/ts';
import { RNOpSqlitePackage } from '@react-native-oh-tpl/op-sqlite/ts';
import {RNRealmPackage} from '@react-native-oh-tpl/realm/ts';
import {SafeAreaViewPackage} from '@react-native-oh-tpl/react-native-safe-area-context/ts';
import { FsPackage } from '@react-native-oh-tpl/react-native-fs/ts';


export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
  return [
	new RNBuglyPackage(ctx),
    new ZipArchivePackage(ctx),
    new RNOpSqlitePackage(ctx),
    new RNRealmPackage(ctx),
    new SafeAreaViewPackage(ctx),
    new FsPackage(ctx),
  ];
}
